package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName OceanengineUpdatePlanResult
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/6/30 17:43
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "批量修改广告计划返回参数")
public class OceanengineUpdatePlanResult {

    /**
     * message : OK
     * code : 0
     * data : {"ad_id":1,"need_audit":1}
     * request_id : ×××
     */

    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "批量修改广告计划返回参数实体")
    public static class DataBean {
        /**
         * ad_id : 1
         * need_audit : 1
         */
        @ApiModelProperty(value = "广告计划ID")
        private long ad_id;
        @ApiModelProperty(value = "此次修改是否触发进入待审状态(1表示进入待审状态,0表示不进入待审状态)")
        private int need_audit;
    }
}
